package cn.chason678.springbootwebdemo.cn.repository;

import cn.chason678.springbootwebdemo.cn.entity.ProDeviceCn;
import cn.chason678.springbootwebdemo.cn.entity.ProDeviceCnExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ProDeviceCnMapper {
    int countByExample(ProDeviceCnExample example);

    int deleteByExample(ProDeviceCnExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProDeviceCn record);

    int insertSelective(ProDeviceCn record);

    List<ProDeviceCn> selectByExample(ProDeviceCnExample example);

    ProDeviceCn selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProDeviceCn record, @Param("example") ProDeviceCnExample example);

    int updateByExample(@Param("record") ProDeviceCn record, @Param("example") ProDeviceCnExample example);

    int updateByPrimaryKeySelective(ProDeviceCn record);

    int updateByPrimaryKey(ProDeviceCn record);
}